FROM python:3.9-alpine
WORKDIR /app
COPY require.txt /app
RUN pip3 install -r require.txt
COPY ./app.py .
ENV FLASK_APP app.py
ENV FLASK_RUN_PORT 5000
ENV FLASK_RUN_HOST 0.0.0.0

CMD ["flask","run"]